
export interface Ioption {
  label: string;
  value: string | number;
  children?: Array<Ioption>;
  id?: string;
}
export interface Iprops {
  options: Array<Ioption>;
  searchVisible?: boolean;
  size?: 'min' | 'mod' | 'max';
  defaultValue?: string | number;
  change?: (param: string | number) => void;
}

export const options = [
  {
    label: '选项1',
    value: '1'
  },
  {
    label: '选项2',
    value: '2'
  },
  {
    label: '选项3',
    value: '3'
  }
];
export const cascaderOption = [
  {
    label: '选项1',
    value: '1',
    children: [
      {
        label: '选项1-1',
        value: '1-1',
        children: [
          {
            label: '选项1-1-1',
            value: '1-1-1'
          },
          {
            label: '选项1-1-2',
            value: '1-1-2'
          }
        ]
      },
      {
        label: '选项1-2',
        value: '1-2'
      },
      {
        label: '选项1-3',
        value: '1-3'
      },
      {
        label: '选项1-4',
        value: '1-4'
      },
      {
        label: '选项1-5',
        value: '1-5'
      },
      {
        label: '选项1-6',
        value: '1-6'
      },
      {
        label: '选项1-7',
        value: '1-7'
      }
    ]
  },
  {
    label: '选项2',
    value: '2'
  },
  {
    label: '选项3',
    value: '3'
  },
  {
    label: '选项4',
    value: '4'
  },
  {
    label: '选项5',
    value: '5'
  },
  {
    label: '选项6',
    value: '6'
  },
  {
    label: '选项7',
    value: '7'
  },
  {
    label: '选项8',
    value: '8'
  }
];

export const defaultOption = {
  label: '',
  value: ''
};
